package com.springboot.model;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.baomidou.mybatisplus.core.enums.IEnum;

/**
 * @Author: TongRui乀
 * @Date: 2020-05-27 9:37
 * @description：
 */
public enum StatisticsTypeEnum implements IEnum<Integer> {

    WITHDRAWING_MONEY(1, "运费账户提现中的金额");

    @EnumValue
    private Integer type;

    private String des;

    StatisticsTypeEnum(Integer type, String des){
        this.type = type;
        this.des = des;
    }

    @Override
    public Integer getValue() {
        return this.type;
    }


    @Override
    public String toString() {
        return this.des;
    }
}
